package jtk.project4.fleet.event;

import java.util.List;

import jtk.project4.fleet.domain.Employees;
import jtk.project4.fleet.event.EmployeeEvent.EmployeeEventType;

import nl.coderight.jazz.Event;


public class EmployeeEvent extends Event<EmployeeEventType>{
	private List<Employees> employees;
	public enum EmployeeEventType{
		LOAD_SUCCESS,
		FILTER, ADD, EDIT, DELETE, SUBMIT, CANCEL, SELECT, CHANGE, SAVE, VIEW;
	}
	
	public EmployeeEvent(EmployeeEventType type){
		super(type);
	}

	public void setEmployees(List<Employees> employees) {
		this.employees = employees;
	}

	public List<Employees> getEmployees() {
		return employees;
	}
}
